<%


response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", -1);

     HttpSession s=request.getSession();
     if(s.getAttribute("logged")!=null && s.getAttribute("logged").equals(true))
        {
        s.invalidate();
        }
     response.sendRedirect(request.getContextPath()+"/index.jsp");
%>